<?php

namespace App\Http\Controllers\H5\Shop;

use App\Common\Exceptions\AixinException;
use App\Common\Exceptions\AixinExceptionCode;
use App\Http\Controllers\Controller;
use App\Service\PointsService;
use Illuminate\Http\Request;
use \Log;

class PointsController extends Controller
{
    public function index(Request $request, PointsService $pointsService)
    {
        $uid = $request->uid;
        $pointsInfo = $pointsService->getPointsInfo($uid);
        return ApiResponse($pointsInfo);
    }


}
